package assist.client.gwt.view.ui;

import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

public class AppContainerImpl extends Composite implements AppContainer
{
   
    @UiField AcceptsOneWidget contentArea;

    @UiField (provided=true)
    ShowGamesViewImpl showGamesView;
    

    public AppContainerImpl(ShowGamesViewImpl showGamesView, UiBinder<Widget, AppContainerImpl> binder)
    {
        this.showGamesView = showGamesView;
        initWidget(binder.createAndBindUi(this));
    }

    @Override
    public AcceptsOneWidget getContentArea()
    {   
        return contentArea;
    }

}
